var dungeon = argument0;
var roomCount = argument1;

var start = 0;
var destination = 0;

for(var roomNum = 0; roomNum < roomCount - 1; roomNum++)
{
    start = 0;
    destination = 0;
    switch(dungeon.rooms[roomNum].entranceSide)
    {
        default:
        break;
    }
    switch(dungeon.rooms[roomNum + 1].exitSide)
    {
        default:
        break;
    }
}
